<form action="{:sysuri()}" method="post" data-auto="true" class="layui-form layui-card" data-table-id="UserTable">
    <div class="layui-card-body padding-left-40">

        <fieldset class="layui-bg-gray">
            <legend><b class="layui-badge think-bg-violet">iyuu(用于消息通知)</b></legend>
            <div class="layui-col-xs12">
              <label class="relative block">
                  <span class="help-label"><b>IYUU Token</b></span>
                  <input name="iyuu" placeholder="请输入IYUU公众号获取的Token" class="layui-input" value='{$iyuu.value|default=""}'>
              </label>
            </div>
        </fieldset>

        <fieldset class="layui-bg-gray">
            <legend><b class="layui-badge think-bg-violet">jackett(用于不兼容站点辅种)</b></legend>
            <div class="layui-row layui-col-space15">
              <div class="layui-col-xs6">
                <label class="relative block">
                    <span class="help-label"><b>Jackett域名+端口</b></span>
                    <input name="jackettUrl" placeholder="示例：http://test.com:9117" class="layui-input" value='{$jackett.name|default=""}'>
                </label>
              </div>
              <div class="layui-col-xs6">
                <label class="relative block">
                    <span class="help-label"><b>Jackett apikey</b></span>
                    <input name="jackettApikey" placeholder="请输入apikey" class="layui-input" value='{$jackett.value|default=""}'>
                </label>
              </div>
            </div>
        </fieldset>

    </div>

    <div class="hr-line-dashed"></div>
    {notempty name='vo.id'}<input type='hidden' value='{$vo.id}' name='id'>{/notempty}

    <div class="layui-form-item text-center">
        <button class="layui-btn" type='submit'>保存数据</button>
        <button class="layui-btn layui-btn-danger" type='button' data-confirm="确定要取消编辑吗？" data-close>取消编辑</button>
    </div>
</form>